package com.exam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TempAnswerHistoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TempAnswerHistoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTemphistoryidIsNull() {
            addCriterion("TempHistoryId is null");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidIsNotNull() {
            addCriterion("TempHistoryId is not null");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidEqualTo(Integer value) {
            addCriterion("TempHistoryId =", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidNotEqualTo(Integer value) {
            addCriterion("TempHistoryId <>", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidGreaterThan(Integer value) {
            addCriterion("TempHistoryId >", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidGreaterThanOrEqualTo(Integer value) {
            addCriterion("TempHistoryId >=", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidLessThan(Integer value) {
            addCriterion("TempHistoryId <", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidLessThanOrEqualTo(Integer value) {
            addCriterion("TempHistoryId <=", value, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidIn(List<Integer> values) {
            addCriterion("TempHistoryId in", values, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidNotIn(List<Integer> values) {
            addCriterion("TempHistoryId not in", values, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidBetween(Integer value1, Integer value2) {
            addCriterion("TempHistoryId between", value1, value2, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andTemphistoryidNotBetween(Integer value1, Integer value2) {
            addCriterion("TempHistoryId not between", value1, value2, "temphistoryid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNull() {
            addCriterion("CreatePerson is null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNotNull() {
            addCriterion("CreatePerson is not null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonEqualTo(String value) {
            addCriterion("CreatePerson =", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotEqualTo(String value) {
            addCriterion("CreatePerson <>", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThan(String value) {
            addCriterion("CreatePerson >", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThanOrEqualTo(String value) {
            addCriterion("CreatePerson >=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThan(String value) {
            addCriterion("CreatePerson <", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThanOrEqualTo(String value) {
            addCriterion("CreatePerson <=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLike(String value) {
            addCriterion("CreatePerson like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotLike(String value) {
            addCriterion("CreatePerson not like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIn(List<String> values) {
            addCriterion("CreatePerson in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotIn(List<String> values) {
            addCriterion("CreatePerson not in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonBetween(String value1, String value2) {
            addCriterion("CreatePerson between", value1, value2, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotBetween(String value1, String value2) {
            addCriterion("CreatePerson not between", value1, value2, "createperson");
            return (Criteria) this;
        }

        public Criteria andUserchoiceIsNull() {
            addCriterion("UserChoice is null");
            return (Criteria) this;
        }

        public Criteria andUserchoiceIsNotNull() {
            addCriterion("UserChoice is not null");
            return (Criteria) this;
        }

        public Criteria andUserchoiceEqualTo(String value) {
            addCriterion("UserChoice =", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceNotEqualTo(String value) {
            addCriterion("UserChoice <>", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceGreaterThan(String value) {
            addCriterion("UserChoice >", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceGreaterThanOrEqualTo(String value) {
            addCriterion("UserChoice >=", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceLessThan(String value) {
            addCriterion("UserChoice <", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceLessThanOrEqualTo(String value) {
            addCriterion("UserChoice <=", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceLike(String value) {
            addCriterion("UserChoice like", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceNotLike(String value) {
            addCriterion("UserChoice not like", value, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceIn(List<String> values) {
            addCriterion("UserChoice in", values, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceNotIn(List<String> values) {
            addCriterion("UserChoice not in", values, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceBetween(String value1, String value2) {
            addCriterion("UserChoice between", value1, value2, "userchoice");
            return (Criteria) this;
        }

        public Criteria andUserchoiceNotBetween(String value1, String value2) {
            addCriterion("UserChoice not between", value1, value2, "userchoice");
            return (Criteria) this;
        }

        public Criteria andRightanswerIsNull() {
            addCriterion("RightAnswer is null");
            return (Criteria) this;
        }

        public Criteria andRightanswerIsNotNull() {
            addCriterion("RightAnswer is not null");
            return (Criteria) this;
        }

        public Criteria andRightanswerEqualTo(String value) {
            addCriterion("RightAnswer =", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerNotEqualTo(String value) {
            addCriterion("RightAnswer <>", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerGreaterThan(String value) {
            addCriterion("RightAnswer >", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerGreaterThanOrEqualTo(String value) {
            addCriterion("RightAnswer >=", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerLessThan(String value) {
            addCriterion("RightAnswer <", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerLessThanOrEqualTo(String value) {
            addCriterion("RightAnswer <=", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerLike(String value) {
            addCriterion("RightAnswer like", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerNotLike(String value) {
            addCriterion("RightAnswer not like", value, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerIn(List<String> values) {
            addCriterion("RightAnswer in", values, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerNotIn(List<String> values) {
            addCriterion("RightAnswer not in", values, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerBetween(String value1, String value2) {
            addCriterion("RightAnswer between", value1, value2, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andRightanswerNotBetween(String value1, String value2) {
            addCriterion("RightAnswer not between", value1, value2, "rightanswer");
            return (Criteria) this;
        }

        public Criteria andIscorrectIsNull() {
            addCriterion("IsCorrect is null");
            return (Criteria) this;
        }

        public Criteria andIscorrectIsNotNull() {
            addCriterion("IsCorrect is not null");
            return (Criteria) this;
        }

        public Criteria andIscorrectEqualTo(Boolean value) {
            addCriterion("IsCorrect =", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectNotEqualTo(Boolean value) {
            addCriterion("IsCorrect <>", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectGreaterThan(Boolean value) {
            addCriterion("IsCorrect >", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectGreaterThanOrEqualTo(Boolean value) {
            addCriterion("IsCorrect >=", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectLessThan(Boolean value) {
            addCriterion("IsCorrect <", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectLessThanOrEqualTo(Boolean value) {
            addCriterion("IsCorrect <=", value, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectIn(List<Boolean> values) {
            addCriterion("IsCorrect in", values, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectNotIn(List<Boolean> values) {
            addCriterion("IsCorrect not in", values, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectBetween(Boolean value1, Boolean value2) {
            addCriterion("IsCorrect between", value1, value2, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andIscorrectNotBetween(Boolean value1, Boolean value2) {
            addCriterion("IsCorrect not between", value1, value2, "iscorrect");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andQueidIsNull() {
            addCriterion("QueId is null");
            return (Criteria) this;
        }

        public Criteria andQueidIsNotNull() {
            addCriterion("QueId is not null");
            return (Criteria) this;
        }

        public Criteria andQueidEqualTo(Integer value) {
            addCriterion("QueId =", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidNotEqualTo(Integer value) {
            addCriterion("QueId <>", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidGreaterThan(Integer value) {
            addCriterion("QueId >", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidGreaterThanOrEqualTo(Integer value) {
            addCriterion("QueId >=", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidLessThan(Integer value) {
            addCriterion("QueId <", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidLessThanOrEqualTo(Integer value) {
            addCriterion("QueId <=", value, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidIn(List<Integer> values) {
            addCriterion("QueId in", values, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidNotIn(List<Integer> values) {
            addCriterion("QueId not in", values, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidBetween(Integer value1, Integer value2) {
            addCriterion("QueId between", value1, value2, "queid");
            return (Criteria) this;
        }

        public Criteria andQueidNotBetween(Integer value1, Integer value2) {
            addCriterion("QueId not between", value1, value2, "queid");
            return (Criteria) this;
        }

        public Criteria andQuetitleIsNull() {
            addCriterion("QueTitle is null");
            return (Criteria) this;
        }

        public Criteria andQuetitleIsNotNull() {
            addCriterion("QueTitle is not null");
            return (Criteria) this;
        }

        public Criteria andQuetitleEqualTo(String value) {
            addCriterion("QueTitle =", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleNotEqualTo(String value) {
            addCriterion("QueTitle <>", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleGreaterThan(String value) {
            addCriterion("QueTitle >", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleGreaterThanOrEqualTo(String value) {
            addCriterion("QueTitle >=", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleLessThan(String value) {
            addCriterion("QueTitle <", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleLessThanOrEqualTo(String value) {
            addCriterion("QueTitle <=", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleLike(String value) {
            addCriterion("QueTitle like", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleNotLike(String value) {
            addCriterion("QueTitle not like", value, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleIn(List<String> values) {
            addCriterion("QueTitle in", values, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleNotIn(List<String> values) {
            addCriterion("QueTitle not in", values, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleBetween(String value1, String value2) {
            addCriterion("QueTitle between", value1, value2, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQuetitleNotBetween(String value1, String value2) {
            addCriterion("QueTitle not between", value1, value2, "quetitle");
            return (Criteria) this;
        }

        public Criteria andQustypeidIsNull() {
            addCriterion("QusTypeId is null");
            return (Criteria) this;
        }

        public Criteria andQustypeidIsNotNull() {
            addCriterion("QusTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andQustypeidEqualTo(Integer value) {
            addCriterion("QusTypeId =", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidNotEqualTo(Integer value) {
            addCriterion("QusTypeId <>", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidGreaterThan(Integer value) {
            addCriterion("QusTypeId >", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("QusTypeId >=", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidLessThan(Integer value) {
            addCriterion("QusTypeId <", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidLessThanOrEqualTo(Integer value) {
            addCriterion("QusTypeId <=", value, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidIn(List<Integer> values) {
            addCriterion("QusTypeId in", values, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidNotIn(List<Integer> values) {
            addCriterion("QusTypeId not in", values, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidBetween(Integer value1, Integer value2) {
            addCriterion("QusTypeId between", value1, value2, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQustypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("QusTypeId not between", value1, value2, "qustypeid");
            return (Criteria) this;
        }

        public Criteria andQueanalysisIsNull() {
            addCriterion("QueAnalysis is null");
            return (Criteria) this;
        }

        public Criteria andQueanalysisIsNotNull() {
            addCriterion("QueAnalysis is not null");
            return (Criteria) this;
        }

        public Criteria andQueanalysisEqualTo(String value) {
            addCriterion("QueAnalysis =", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisNotEqualTo(String value) {
            addCriterion("QueAnalysis <>", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisGreaterThan(String value) {
            addCriterion("QueAnalysis >", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisGreaterThanOrEqualTo(String value) {
            addCriterion("QueAnalysis >=", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisLessThan(String value) {
            addCriterion("QueAnalysis <", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisLessThanOrEqualTo(String value) {
            addCriterion("QueAnalysis <=", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisLike(String value) {
            addCriterion("QueAnalysis like", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisNotLike(String value) {
            addCriterion("QueAnalysis not like", value, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisIn(List<String> values) {
            addCriterion("QueAnalysis in", values, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisNotIn(List<String> values) {
            addCriterion("QueAnalysis not in", values, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisBetween(String value1, String value2) {
            addCriterion("QueAnalysis between", value1, value2, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueanalysisNotBetween(String value1, String value2) {
            addCriterion("QueAnalysis not between", value1, value2, "queanalysis");
            return (Criteria) this;
        }

        public Criteria andQueoptionaIsNull() {
            addCriterion("QueOptionA is null");
            return (Criteria) this;
        }

        public Criteria andQueoptionaIsNotNull() {
            addCriterion("QueOptionA is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptionaEqualTo(String value) {
            addCriterion("QueOptionA =", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaNotEqualTo(String value) {
            addCriterion("QueOptionA <>", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaGreaterThan(String value) {
            addCriterion("QueOptionA >", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionA >=", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaLessThan(String value) {
            addCriterion("QueOptionA <", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaLessThanOrEqualTo(String value) {
            addCriterion("QueOptionA <=", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaLike(String value) {
            addCriterion("QueOptionA like", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaNotLike(String value) {
            addCriterion("QueOptionA not like", value, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaIn(List<String> values) {
            addCriterion("QueOptionA in", values, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaNotIn(List<String> values) {
            addCriterion("QueOptionA not in", values, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaBetween(String value1, String value2) {
            addCriterion("QueOptionA between", value1, value2, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionaNotBetween(String value1, String value2) {
            addCriterion("QueOptionA not between", value1, value2, "queoptiona");
            return (Criteria) this;
        }

        public Criteria andQueoptionbIsNull() {
            addCriterion("QueOptionB is null");
            return (Criteria) this;
        }

        public Criteria andQueoptionbIsNotNull() {
            addCriterion("QueOptionB is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptionbEqualTo(String value) {
            addCriterion("QueOptionB =", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbNotEqualTo(String value) {
            addCriterion("QueOptionB <>", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbGreaterThan(String value) {
            addCriterion("QueOptionB >", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionB >=", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbLessThan(String value) {
            addCriterion("QueOptionB <", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbLessThanOrEqualTo(String value) {
            addCriterion("QueOptionB <=", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbLike(String value) {
            addCriterion("QueOptionB like", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbNotLike(String value) {
            addCriterion("QueOptionB not like", value, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbIn(List<String> values) {
            addCriterion("QueOptionB in", values, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbNotIn(List<String> values) {
            addCriterion("QueOptionB not in", values, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbBetween(String value1, String value2) {
            addCriterion("QueOptionB between", value1, value2, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptionbNotBetween(String value1, String value2) {
            addCriterion("QueOptionB not between", value1, value2, "queoptionb");
            return (Criteria) this;
        }

        public Criteria andQueoptioncIsNull() {
            addCriterion("QueOptionC is null");
            return (Criteria) this;
        }

        public Criteria andQueoptioncIsNotNull() {
            addCriterion("QueOptionC is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptioncEqualTo(String value) {
            addCriterion("QueOptionC =", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncNotEqualTo(String value) {
            addCriterion("QueOptionC <>", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncGreaterThan(String value) {
            addCriterion("QueOptionC >", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionC >=", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncLessThan(String value) {
            addCriterion("QueOptionC <", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncLessThanOrEqualTo(String value) {
            addCriterion("QueOptionC <=", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncLike(String value) {
            addCriterion("QueOptionC like", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncNotLike(String value) {
            addCriterion("QueOptionC not like", value, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncIn(List<String> values) {
            addCriterion("QueOptionC in", values, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncNotIn(List<String> values) {
            addCriterion("QueOptionC not in", values, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncBetween(String value1, String value2) {
            addCriterion("QueOptionC between", value1, value2, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptioncNotBetween(String value1, String value2) {
            addCriterion("QueOptionC not between", value1, value2, "queoptionc");
            return (Criteria) this;
        }

        public Criteria andQueoptiondIsNull() {
            addCriterion("QueOptionD is null");
            return (Criteria) this;
        }

        public Criteria andQueoptiondIsNotNull() {
            addCriterion("QueOptionD is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptiondEqualTo(String value) {
            addCriterion("QueOptionD =", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondNotEqualTo(String value) {
            addCriterion("QueOptionD <>", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondGreaterThan(String value) {
            addCriterion("QueOptionD >", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionD >=", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondLessThan(String value) {
            addCriterion("QueOptionD <", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondLessThanOrEqualTo(String value) {
            addCriterion("QueOptionD <=", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondLike(String value) {
            addCriterion("QueOptionD like", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondNotLike(String value) {
            addCriterion("QueOptionD not like", value, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondIn(List<String> values) {
            addCriterion("QueOptionD in", values, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondNotIn(List<String> values) {
            addCriterion("QueOptionD not in", values, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondBetween(String value1, String value2) {
            addCriterion("QueOptionD between", value1, value2, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptiondNotBetween(String value1, String value2) {
            addCriterion("QueOptionD not between", value1, value2, "queoptiond");
            return (Criteria) this;
        }

        public Criteria andQueoptioneIsNull() {
            addCriterion("QueOptionE is null");
            return (Criteria) this;
        }

        public Criteria andQueoptioneIsNotNull() {
            addCriterion("QueOptionE is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptioneEqualTo(String value) {
            addCriterion("QueOptionE =", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneNotEqualTo(String value) {
            addCriterion("QueOptionE <>", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneGreaterThan(String value) {
            addCriterion("QueOptionE >", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionE >=", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneLessThan(String value) {
            addCriterion("QueOptionE <", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneLessThanOrEqualTo(String value) {
            addCriterion("QueOptionE <=", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneLike(String value) {
            addCriterion("QueOptionE like", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneNotLike(String value) {
            addCriterion("QueOptionE not like", value, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneIn(List<String> values) {
            addCriterion("QueOptionE in", values, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneNotIn(List<String> values) {
            addCriterion("QueOptionE not in", values, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneBetween(String value1, String value2) {
            addCriterion("QueOptionE between", value1, value2, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptioneNotBetween(String value1, String value2) {
            addCriterion("QueOptionE not between", value1, value2, "queoptione");
            return (Criteria) this;
        }

        public Criteria andQueoptionfIsNull() {
            addCriterion("QueOptionF is null");
            return (Criteria) this;
        }

        public Criteria andQueoptionfIsNotNull() {
            addCriterion("QueOptionF is not null");
            return (Criteria) this;
        }

        public Criteria andQueoptionfEqualTo(String value) {
            addCriterion("QueOptionF =", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfNotEqualTo(String value) {
            addCriterion("QueOptionF <>", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfGreaterThan(String value) {
            addCriterion("QueOptionF >", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfGreaterThanOrEqualTo(String value) {
            addCriterion("QueOptionF >=", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfLessThan(String value) {
            addCriterion("QueOptionF <", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfLessThanOrEqualTo(String value) {
            addCriterion("QueOptionF <=", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfLike(String value) {
            addCriterion("QueOptionF like", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfNotLike(String value) {
            addCriterion("QueOptionF not like", value, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfIn(List<String> values) {
            addCriterion("QueOptionF in", values, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfNotIn(List<String> values) {
            addCriterion("QueOptionF not in", values, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfBetween(String value1, String value2) {
            addCriterion("QueOptionF between", value1, value2, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andQueoptionfNotBetween(String value1, String value2) {
            addCriterion("QueOptionF not between", value1, value2, "queoptionf");
            return (Criteria) this;
        }

        public Criteria andPaperidIsNull() {
            addCriterion("PaperId is null");
            return (Criteria) this;
        }

        public Criteria andPaperidIsNotNull() {
            addCriterion("PaperId is not null");
            return (Criteria) this;
        }

        public Criteria andPaperidEqualTo(Integer value) {
            addCriterion("PaperId =", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotEqualTo(Integer value) {
            addCriterion("PaperId <>", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidGreaterThan(Integer value) {
            addCriterion("PaperId >", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PaperId >=", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidLessThan(Integer value) {
            addCriterion("PaperId <", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidLessThanOrEqualTo(Integer value) {
            addCriterion("PaperId <=", value, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidIn(List<Integer> values) {
            addCriterion("PaperId in", values, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotIn(List<Integer> values) {
            addCriterion("PaperId not in", values, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidBetween(Integer value1, Integer value2) {
            addCriterion("PaperId between", value1, value2, "paperid");
            return (Criteria) this;
        }

        public Criteria andPaperidNotBetween(Integer value1, Integer value2) {
            addCriterion("PaperId not between", value1, value2, "paperid");
            return (Criteria) this;
        }

        public Criteria andExamidIsNull() {
            addCriterion("ExamId is null");
            return (Criteria) this;
        }

        public Criteria andExamidIsNotNull() {
            addCriterion("ExamId is not null");
            return (Criteria) this;
        }

        public Criteria andExamidEqualTo(Integer value) {
            addCriterion("ExamId =", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotEqualTo(Integer value) {
            addCriterion("ExamId <>", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidGreaterThan(Integer value) {
            addCriterion("ExamId >", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ExamId >=", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidLessThan(Integer value) {
            addCriterion("ExamId <", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidLessThanOrEqualTo(Integer value) {
            addCriterion("ExamId <=", value, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidIn(List<Integer> values) {
            addCriterion("ExamId in", values, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotIn(List<Integer> values) {
            addCriterion("ExamId not in", values, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidBetween(Integer value1, Integer value2) {
            addCriterion("ExamId between", value1, value2, "examid");
            return (Criteria) this;
        }

        public Criteria andExamidNotBetween(Integer value1, Integer value2) {
            addCriterion("ExamId not between", value1, value2, "examid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}